.ex_modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.ex_modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 1.5em;
    position:relative;
    max-width: 80vw;
}
.ex_modal-content-inner{
    overflow-y: scroll;
    position: relative;
    padding:0 0.8em;
    max-width:100%;
    max-height: 80vh;
}
.ex_modal-close {
    position: absolute;
    top: -0.5em;
    right: -0.5em;
    font-size: 24px;
    cursor: pointer;
    color:#fff;
    background-color:rgba(180, 0, 0, 0.5);
    border-radius:100px;
    width:1.5em;
    height:1.5em;
    line-height:1.5em;
    text-align: center;
    transition:.2s all;
}
.ex_modal-close:hover {
    background-color:rgba(180, 0, 0, 0.8);
}